.ng-valid[required], .ng-valid.required  {
  border-left: 5px solid #16a085; /* green */
}

.ng-invalid:not(form)  {
  border-left: 5px solid #c0392b; /* red */
}